package ppp.hhh.the.listener;

import jakarta.servlet.ServletContextListener;
import jakarta.servlet.annotation.WebListener;

@WebListener
public class MyListener implements ServletContextListener {
    @Override
    public void contextDestroyed(jakarta.servlet.ServletContextEvent sce)  {
        System.out.println("contextDestroyed");
    }
    @Override
    public void contextInitialized(jakarta.servlet.ServletContextEvent sce)  {
        System.out.println("contextInitialized");
    }
}
